package com.ayf.payment.game.api.mapper;

import com.ayf.payment.game.api.entity.TemplateAdditional;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface TemplateAdditionalMapper extends Mapper<TemplateAdditional> {
    /**
     * 批量添加Additional
     *
     * @param additionalList
     * @return
     */
    int insertAdditionals(@Param("additionalList") List<TemplateAdditional> additionalList);

    List<TemplateAdditional> selectByTemplateId(@Param("templateId") String templateId);
}